<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>新增书籍页面</title>
</head>
<link th:href="@{/css/bootstrap.css}" href="../static/css/bootstrap.css" rel="stylesheet" type="text/css" >
<body>
<style>
    body {

        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
    .page-header {
        padding-bottom: 9px;
        margin: 40px 0 20px;
        border-bottom: 1px solid #eee;
    }
</style>
<body>
<div class="container">
    <div class="row ">
        <div class="col-md-12 column">
            <div class="page-header">
                <h1><small>请输入修改内容</small></h1>
            </div>
        </div>
    </div>
    <form action="/addSuccess" method="post" th:action="@{/update/updateBook}">
        <input type="hidden" name="bookID"  th:value="${QueryBook.bookID}">
        <div class="form-group">
            <label for="name">书籍名称</label>
            <input type="text" class="form-control" id="name" th:value="${QueryBook.bookName}" name="bookName" required>
        </div>
        <div class="form-group">
            <label for="counts">书籍数量</label>
            <input type="text" class="form-control" id="counts" th:value="${QueryBook.bookCounts}" name="bookCounts" required>
        </div>
        <div class="form-group">
            <label for="detail">书籍描述</label>
            <input type="text" class="form-control" th:value="${QueryBook.detail}" id="detail" name="detail" required>
        </div>
        <div class="form-group">
            <input type="submit" class="form-control" value="确认">
        </div>
    </form>

</div>
</body>
</body>
</html>